SlkStore.DeleteAssignment Method

Deletes a SharePoint Learning Kit assignment.

Parent Type: SlkStore

Namespace: Microsoft.SharePointLearningKit

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public void DeleteAssignment (
AssignmentItemIdentifier assignmentId

)

Parameters

assignmentId

The AssignmentItemIdentifier of the assignment to delete.

Exceptions
Exception type Condition
SafeToDisplayException

An error occurred that can be displayed to a browser user. Possible cause: the user isn't an instructor on the assignment, and the assignment isn't self-assigned.

Remarks

Security:  This operation fails if the current user isn't either an instructor on the assignment or the person who created the assignment.